﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocketControl.Protocol.Http.Model.General
{
    public class GeneralClass
    {
    }

    public enum CacheControl
    {
        no_cache,
        no_store,
        max_age,
        max_stale,
        min_fresh,
        only_if_cached,
        _public,
        _private,
        transform,
        must_revalidate,
        proxy_revalidate
    }

    public enum HttpVersion
    {
        [System.ComponentModel.Description("HTTP/1.0")]
        Http1_0,
        [System.ComponentModel.Description("HTTP/1.1")]
        Http1_1
    }

    public enum RequestMethod
    {
        GET,
        HEAD,
        POST,
        PUT,
        DELETE,
        OPTIONS,
        TRACE,
        CONNECT,
        ERROR
    }

    public enum StatusCode
    {
        CONTINUE = 100,
        SWITCHING_Protocols = 101,
        OK = 200,
        Created = 201,
        Accepted = 202,
        Non_Authoritative_Information = 203,
        No_Content = 204,
        Reset_Content = 205,
        Partial_Content = 206,
        Multiple_Choices = 300,
        Moved_Permanently = 301,
        Moved_Temporarily = 302,
        See_Other = 303,
        Not_Modified = 304,
        Use_Proxy = 305,
        Bad_Request = 400,
        Unauthorized = 401,
        PaymentRequired = 402,
        Forbidden = 403,
        Not_Fount = 404,
        Method_Not_Allowed = 405,
        Not_Acceptable = 406,
        Proxy_Authentication_Required = 407,
        Request_Time_out = 408,
        Conflict = 409,
        Gone = 410,
        Length_Required = 411,
        Precondition_Failed = 412,
        Request_Entity_Too_Large = 413,
        Request_URI_Too_Large = 414,
        Unsupported_Media_Type = 415,
        Internal_Server_Error = 500,
        Not_Implemented = 501,
        Bad_Gateway = 502,
        Service_Unavailable = 503,
        Gateway_Time_out = 504,
        HTTP_Version_not_supported = 505
    }
}
